﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MenuSystemSite.master"
    Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
        $(function () {
            $("#accordion").accordion();
        });
    </script>
    <link rel="stylesheet" href="../../Css/CssReferenceFileFromNewsCenter.css" />
    <div id="cafe info">
        <p>
            <%= Html.DisplayText("CafeDesc")%></p>
    </div>
    <div class="wrapper">
        <div id="accordion">
            <h3>
                <a href="#">Breakfast</a></h3>
            <div>
                <table>
                    <td>
                        <table>
                            <tr>
                                <th>
                                    Menu Item
                                </th>
                            </tr>
                            <% foreach (var item in (SelectList)ViewData["FoodItems"])
                               { %>
                            <tr>
                                <td>
                                    <p>
                                        <%=item.Text%>
                                    </p>
                                </td>
                                <% } %>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <table>
                            <tr>
                                <th>
                                    Description
                                </th>
                            </tr>
                            <% foreach (var item in (SelectList)ViewData["FoodDesc"])
                               { %>
                            <tr>
                                <td>
                                    <p>
                                        <%=item.Text%>
                                    </p>
                                </td>
                                <% } %>
                            </tr>
                        </table>
                    </td>
                </table>
            </div>
            <h3>
                <a href="#">Lunch</a></h3>
            <div>
                <table>
                    <td>
                        <table>
                            <tr>
                                <th>
                                    Menu Item
                                </th>
                            </tr>
                            <% foreach (var item in (SelectList)ViewData["FoodItems"])
                               { %>
                            <tr>
                                <td>
                                    <p>
                                        <%=item.Text%>
                                    </p>
                                </td>
                                <% } %>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <table>
                            <tr>
                                <th>
                                    Description
                                </th>
                            </tr>
                            <% foreach (var item in (SelectList)ViewData["FoodDesc"])
                               { %>
                            <tr>
                                <td>
                                    <p>
                                        <%=item.Text%>
                                    </p>
                                </td>
                                <% } %>
                            </tr>
                        </table>
                    </td>
                </table>
            </div>
            <h3>
                <a href="#">Dinner</a></h3>
            <p>
                Closed</p>
            <h3>
                <a href="#">3rd Shift</a></h3>
            <p>
                Closed</p>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TemplateLeftNav" runat="server">
    <form action="">
    <div class="filters">
        <div class="field">
            <label>
                Select A Location:</label>
            <%= Html.DropDownList("Buildings", (SelectList)ViewData["Buildings"], new { style = "width:200px;", onchange = "UpdateReport(this)" })%>
        </div>
    </div>
    </form>
    <%--START OF CAFE DROP DOWN BOX--%>
    <form action="">
    <div class="filters">
        <div class="field">
            <label>
                Select A Cafeteria:</label>
            <%= Html.DropDownList("Cafes", (SelectList)ViewData["Cafes"], new { style = "width:200px;", onchange = "UpdateReport(this)" })%>
        </div>
    </div>
    </form>
    <%--END OF CAFE DROP DOWN BOX--%>
    <%--START OF DATE PICKER CODE--%>
    <%--Create date picker--%>
    <script type="text/javascript">
        var currentTime = new Date();
        var month = currentTime.getMonth() + 1;
        var day = currentTime.getDate();
        var year = currentTime.getFullYear();
        var date = month + "/" + day + "/" + year;
        $(function () {
            $("#datepicker").datepicker().val(date.toString()).trigger('change');
        });
    </script>
    <%--Display date picker--%>
    <p>
        Search by Date (mm/dd/yyyy):<input type="text" id="datepicker" /></p>
    <%--END DATE PICKER--%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TemplateRightNav" runat="server">
</asp:Content>
